How To Build Agentic Ai Systems: Core Components & Architecture Explained